﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="Arbetsfornedringen.Pages.Register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentHead" runat="server">
    <link href="../Styles/RegisterStyle.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="form">
        <div id="formfields">
            <asp:Label CssClass="textform" ID="Label1" runat="server" Text="Email(Username):"></asp:Label>
            <asp:TextBox CssClass="textform" ID="TextBoxUsername" runat="server"></asp:TextBox>
            <asp:Label ID="Label2" runat="server" Text="Lösenord:"></asp:Label>
            <asp:TextBox CssClass="textform" ID="TextBoxPassword" runat="server"></asp:TextBox>
            <asp:Label ID="Label3" runat="server" Text="Upprepa lösenord:"></asp:Label>
            <asp:TextBox CssClass="textform" ID="TextBoxConfirmPassword" runat="server"></asp:TextBox>
        </div>
        
        <div id="formvalidaters">
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxUsername" ForeColor="Red">Email krävs!</asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxPassword" ForeColor="Red">Lösenord krävs!</asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxConfirmPassword" ForeColor="Red">Upprepat lösenord krävs!</asp:RequiredFieldValidator>
            
        </div>
        
        <div id="submit">
            <asp:Button ID="ButtonRegister" runat="server" Text="Register" OnClick="ButtonRegister_Click1" />
            <asp:Label ID="LabelAccountExist" runat="server"></asp:Label>

        </div>
        
    </div>
</asp:Content>
